package cz.muni.fi.pb138.videoweb2013.backend;

import java.io.BufferedInputStream;
import java.io.OutputStream;

/**
 * Class providing import from ODF file and export into it.
 * 
 * @author Martin Kubicek
 * @version 1.3
 * @since 2013-05-03
 */
public interface ODFTransformation {

    /**
     * Exports all mediums in database into ODF file.
     * 
     * @param outputStream   stream in which is output file saved
     */
    void exportAll(OutputStream outputStream);
    
    /**
     * Imports ODF file into database.
     *
     * @param bInputStream   stream in which is input file saved
     */
    void importODF(BufferedInputStream bInputStream);
}
